﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace Groove.Core.WebSongFinder
{
    public class WebSong
    {
        [JsonProperty("id")]
        public string Id { get; set; }
        [JsonProperty("name")]
        public string Name { get; set; }
        [JsonProperty("artist")]
        public List<string> Artist { get; set; }
        [JsonProperty("album")]
        public string Album { get; set; }
        [JsonProperty("pic_id")]
        public string AlbumCoverId { get; set; }
        [JsonProperty("url_id")]
        public string UrlId { get; set; }
        [JsonProperty("lyric_id")]
        public string LyricId { get; set; }
        [JsonProperty("source")]
        public string Source { get; set; }
    }

    public class SongUrl
    {
        [JsonProperty("url")]
        public string Url { get; set; }

        [JsonProperty("size")]
        public int Size { get; set; }

        [JsonProperty("br")]
        public int Br { get; set; }
    }
}
